import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-plugin-persistedstate'
import 'animate.css'

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(
  createPinia().use(
    createPersistedState({
      // 默认的全局存储位置，优先级低于单个store中的配置
      storage: sessionStorage
    })
  )
)
app.use(router)

app.mount('#app')
